package com.sx.feesunit.biz;

import java.io.File;
import java.util.List;

import com.sx.feesunit.entity.UserUnitEntity;

public interface IUserUnitBiz {
	/**
	 *从Excel中获取用户数据信息 
	 **/
	public List<UserUnitEntity> getUserUnitInfoFormExcel(File file,String filename) throws Exception;
	/**
	 * 查询用户信息并且查询是否报错
	 **/
	public List<UserUnitEntity> findUserUnitInfoIsOwed(UserUnitEntity userunit) throws Exception; 
	public Integer addUserUnitInfo(UserUnitEntity userunit) throws Exception;
	public boolean updateUserUnitInfo(UserUnitEntity userunit) throws Exception;
	public boolean deleteUserUnitInfo(UserUnitEntity userunit) throws Exception;
	/**
	 *单个查询 
	 **/
	public List<UserUnitEntity> findUserUnitInfo(UserUnitEntity userunit)throws Exception;
	/**
	 *And连接分页查询 
	 **/
	public List<UserUnitEntity> findUserUnitInfoByAndCondiction(UserUnitEntity userunit) throws Exception;
	/**
	 *Or连接分页查询 
	 **/
	public List<UserUnitEntity> findUserUnitInfoByOrCondiction(UserUnitEntity userunit) throws Exception;
	
}
